REM This batch file installs Ximera, its plugins, and dependencies to the output directory
REM %2 is the platform name, %1 is the configuration name

copy ..\..\lib\%2\%1\*.dll ..\bin\%2\%1
copy ..\..\plugins\lib\%2\%1\*.dll ..\bin\%2\%1
copy ..\..\dependencies\%2\*.dll ..\bin\%2\%1
copy ..\..\dependencies\%2\*.cfg ..\bin

if "%1" == "Debug" goto debug

REM Release/Develop Configurations
copy ..\..\dependencies\%2\release\*.dll ..\bin\%2\%1

goto end

:debug

REM Debug Configurations
copy ..\..\dependencies\%2\debug\*.dll ..\bin\%2\%1

:end